package Utils 
{
	/**
	 * ...
	 * @author Victor Cruz
	 */
	public class Time 
	{
		private var time:Number;
		private var contFrames:Number;
		
		public function Time() 
		{
			this.time = 0;
			this.contFrames = 0;
		}
		
		public function updateTime(frameRate:int):void
		{
			contFrames++;
		}
		
		public function getTime():Number
		{
			return this.contFrames;
		}
		
		public function getMilliseconds():Number
		{
			return Util.convertFramesToMilliseconds(this.contFrames, Main.getInstance().stage.frameRate);
		}	
	}
}